package com.example.blog.module.service;

import com.example.blog.module.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blog.module.entity.VO.UserVo;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zjx
 * @since 2023-04-06
 */
public interface FollowService extends IService<Follow> {

    /**
     * 关注
     * @param followId
     * @return
     */
    Boolean follow(Long followId);

    /**
     *查询关注
     * @return
     */
    List<UserVo> queryFollow();

    /**
     *查询粉丝
     * @return
     */
    List<UserVo> queryFans();

    Integer followStatus(Long followId);

}
